import request from '@sc/request';

export async function postLoginWithPwd(data) {
  return request(`/api/v1/operate/login/pwd`, {
    method: 'POST',
    data,
  });
}
export async function postLoginWithSms(data) {
  return request(`/api/v1/operate/login/sms`, {
    method: 'POST',
    data,
  });
}

//获取行为认证第一步
export async function getGeetestInfo(data) { //&t=${new Date().getTime()}
  return request(`/api/v1/operate/action/info`, {
    method: 'GET',
    data,
  });
}
